package com.shallowUniverse.process.context.handler;



import com.shallowUniverse.process.entity.ApprovalDetails;

import java.io.Serializable;

/**
 * @author gs
 * @date create in 2020/12/12 7:44
 */
public interface ProcessFinishedHandler extends Serializable {
    /**
     * description: 审批通过的后置处理器 <br/>
     * author gs   <br/>
     * date 2020/12/12 <br/>
     * params: [jsonApproval] <br/>
     * return: void
     **/
    void postAllowHandle(String jsonApproval, ApprovalDetails approvalDetails);

    /**
     * description: 审批拒绝的后置处理器 <br/>
     * author: gs   <br/>
     * date: 2020/12/12 <br/>
     * params: [jsonApproval] <br/>
     * return: void
     */
    void postRefuseHandle(String jsonApproval, ApprovalDetails approvalDetails);
}
